package school.dao.test;

import java.util.List;
import java.util.Map;

import util.DBUtil;

public class MetaData2 {

	public static void main(String[] args) {
		String sql = "select * from student";
		List<Map<String, Object>> datas = DBUtil.query(sql);
		for (Map<String, Object> m : datas) {
			System.out.println(m.get("sname") + "," + m.get("telephone"));
		}
	}
}
